{css href="/static/index/css/style.css" /}
{layout name="layout"}
<div class="content">
    <!--    大图-->
    <div class="index_top_news">
    </div>
    {include file='public/nav'}
    <!--    nav-->
    <div class="container ">
        <div class="heading"><img src="/static/index/image/mark.png" alt=""> <span>新闻动态</span> </div>
        <br><br>
        <div class="container-fluid">
            <div class="row">
                <div style="margin: 10px auto">
                    <div class="search d1">
                        <form>
                            <label for="search_input"></label>
                            <input id="search_input" type="text" placeholder="搜索从这里开始...">
                            <button type="submit"></button>
                        </form>
                    </div>
                </div>
            </div>
        </div>

        {volist name="$news" id="new"}
        <a href="details/{$new.article_id}">
            <div class="news_list">
                <div style="display: block">
                    <div class="row">
                        <div class="col-md-3">
                            <div class="calendar">
                                <p style="font-size: 24px">{$new.article_create_time|substr=8,3}</p>
                                <p>{$new.article_create_time|substr=0,7}</p>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class="pull-left">
                                <h2 style="float: left;
                                    font-size: 22px;
                                    padding: 8px;
                                    white-space: nowrap;
                                    overflow: hidden;
                                    text-overflow:ellipsis;
                                    width: 100%;
                                    ">{$new.article_name}</h2>
                                <p style="font-size: 14px;
                                    padding: 18px;
                                    color: grey;
                                    display: block;
                                    height: 50px;
                                    overflow: hidden;">
                                    {$new.article_content_text}
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </a>

        {/volist}


        </div>
    <div class="row">
        <div style="margin: 10px auto">{$news|raw}</div>
    </div>

    </div>
</div>

{include file="public/totop"}
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>